# gunicorn_config.py

import multiprocessing

bind = '10.206.0.2:8000'

workers = multiprocessing.cpu_count()*2+1

threads = 3

worker_class = 'sync'

worker_connections = 1000

timeout = 30
keepalive = 2

accesslog = '/var/lib/jenkins/workspace/ai_inspect/logs/gunicorn_access.log'
errorlog = '/var/lib/jenkins/workspace/ai_inspect/logs/gunicorn_error.log'

user = 'root'
loglevel = 'info'

reload = True